#include "Game.h"
#include "Engine.h"

MegaEngine::Game::Game(HINSTANCE hInstance)
{
	engine = new Engine(this, hInstance);
	exit = false;
}

MegaEngine::Game::~Game()
{
	if(engine) delete engine;
}

bool MegaEngine::Game::Start()
{
	if(engine->Init())
		return engine->Loop();
	return false;
}